//
//  NetworkingCenter.h
//  runteraters
//
//  Created by Sebastian Borggrewe on 14/12/2011.
//  Copyright 2011 Robolo. All rights reserved.
//	File created using Singleton XCode Template by Mugunth Kumar (http://blog.mugunthkumar.com)
//  More information about this template on the post http://mk.sg/89
//  Permission granted to do anything, commercial/non-commercial with this file apart from removing the line/URL above

#import <Foundation/Foundation.h>

#import "ClientThreadController.h";
@class BaseMessage;

@interface NetworkingCenter : NSObject <ClientMessaging>{
    ClientThreadController *clientThread;
    BOOL isRunning;
}
+ (NetworkingCenter*) defaultServer;

- (void) openConnectionToServer;
- (void) closeConnectionToServer;
- (void) sendMessage:(id <NSCoding>)message;

@end
